import React, { Component } from 'react';

class Card extends Component{
    render(){
        const name = this.props.name == '' ? " " : this.props.name + " ";
        return (
            <div className={this.porps.name +"card"}>
                <div className="card-head">
                    {this.props.title}
                </div>
                {card_title}
                <div className="card-content">
                    {this.props.children}
                </div>
            </div>
        )
    }
}

export default Card;